/**
 * Majiang is a library that implements Mahjong game rules.
 *
 * Copyright 2009 Prudent Jérome
 *
 *     This file is part of Majiang.
 *
 *     Majiang is free software: you can redistribute it and/or modify
 *     it under the terms of the GNU General Public License as published by
 *     the Free Software Foundation, either version 3 of the License, or
 *     (at your option) any later version.
 *
 *     Majiang is distributed in the hope that it will be useful,
 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *     GNU General Public License for more details.
 *
 *     You should have received a copy of the GNU General Public License
 *     along with Foobar.  If not, see <http://www.gnu.org/licenses/>.
 *
 *
 * You can contact me at jprudent@gmail.com
 */
package org.liprudent.majiang.engine.tile;


/**
 * This interface is the kind of family a tile can have such as BAMBOO, NORTH, ...
 */

public enum TileFamily {
	EAST(TileKind.HONOR,1),WEST(TileKind.HONOR,2),NORTH(TileKind.HONOR,3),SOUTH(TileKind.HONOR,4),RED(TileKind.HONOR,5),GREEN(TileKind.HONOR,6),WHITE(TileKind.HONOR,7),BAMBOO(TileKind.SUIT,8), STONE(TileKind.SUIT,9), CHARACTER(TileKind.SUIT,10), FOO(TileKind.SUIT,11);
	
	final TileKind tileKind;
	final Integer tileOrder;
	TileFamily(TileKind kind, Integer order){
		tileKind = kind;
		tileOrder = order;
	}
	public TileKind getTileKind() {
		return tileKind;
	}
	public Integer getTileOrder() {
		return tileOrder;
	}
	
	
}
